<?php

$a = false;//echo gettype($a);

$dataType = gettype($a);

switch ($dataType)
{
  case 'integer' :
  case 'vikas' :
  case 'vikas1' :
  case 'vikas2' :
  case 'vikas3' :
  case 'vikas4' :
  case 'vikas5' :
  echo "Yes $a is integer :)";

  case 'double' : echo "Yes $a is double";break;
  case 'string' : echo "Yes $a is string";break;
  case 'boolean' : echo "Yes $a is boolean";break;
  default : echo ":( NOT FOUND";
}
